golang.org/x/net/http2.stream.body (field)
11 uses
golang.org/x/net/http2 (current package)
server.go#L638: body *pipe // non-nil if expecting DATA frames
server.go#L1650: if p := st.body; p != nil {
server.go#L1801: if st.body == nil {
server.go#L1812: st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
server.go#L1825: wrote, err := st.body.Write(data)
server.go#L1877: st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
server.go#L1880: st.body.closeWithErrorAndCode(io.EOF, st.copyTrailersToHandlerRequest)
server.go#L1881: st.body.CloseWithError(io.EOF)
server.go#L1902: st.body.CloseWithError(fmt.Errorf("%w", os.ErrDeadlineExceeded))
server.go#L2000: st.body = req.Body.(*requestBody).pipe // may be nil
server.go#L2020: if st.body != nil {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)